<template>
  <div class="user">
    <div ><el-image class="user-img"  fit="cover" :src="userImage?userImage:require('./img/icon/avatar.jpg')" /></div>
  </div>
</template>

<script>
export default {
  props: {
    userImage: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      comment: ''
    }
  }

}
</script>

<style type="text/css" scoped>
	.user{
		height: 50px;
		width: 50px;
	}
	.user-img{
		height: 45px;
		width: 45px;
		border-radius:50%;
	}

</style>
